import numpy as np
import matplotlib.pyplot as plt
file1='entropy_select.npz'
A=np.load(file1)

file2='random_select.npz'
B=np.load(file2)
x=list(range(len(A['arr_0'])))
plt.plot(x,A['arr_0'], label='entropy')
plt.plot(x,B['arr_0'], label='random')
plt.legend()
plt.show()